import 'package:school_assistant/generated/json/base/json_field.dart';
import 'package:school_assistant/generated/json/order_list_entity.g.dart';
import 'dart:convert';

@JsonSerializable()
class OrderListEntity {
	String? id;
	String? number;
	String? product;
	String? user;
	String? extra;

	OrderListEntity();

	factory OrderListEntity.fromJson(Map<String, dynamic> json) => $OrderListEntityFromJson(json);

	Map<String, dynamic> toJson() => $OrderListEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}